﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlaUIAutomation.Model
{
    /// <summary>
    /// 角色
    /// </summary>
    public enum RoleType {
        system,user,assistant,tool
    }

    public class MessagesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string role { get; set; }
        /// <summary>
        /// c# 怎么样？
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
    }

    public class Input
    {
        /// <summary>
        /// 
        /// </summary>
        public string prompt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<MessagesItem> messages { get; set; }
    }

    public class Parameters
    {
        /// <summary>
        /// 
        /// </summary>
        public string result_format { get; set; }
    }

    public class QWenRequestGeneration
    {
        /// <summary>
        /// 
        /// </summary>
        public string model { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Input input { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Parameters parameters { get; set; }
    }

}
